namespace BassettData.Robots
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Defines a wall that runs from north-to-south at a particular avenue.
    /// </summary>
    public struct NorthSouthWallLocation
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="NorthSouthWallLocation"/> struct.
        /// </summary>
        /// <param name="avenue">The avenue.</param>
        /// <param name="firstStreet">The first street.</param>
        /// <param name="lastStreet">The last street.</param>
        public NorthSouthWallLocation(int avenue, int firstStreet, int lastStreet)
            : this()
        {
            Avenue = avenue;
            FirstStreet = firstStreet;
            LastStreet = lastStreet;
        }

        /// <summary>
        /// Gets the avenue.
        /// </summary>
        /// <value>The avenue.</value>
        public int Avenue { get; private set; }

        /// <summary>
        /// Gets the first street.
        /// </summary>
        /// <value>The first street.</value>
        public int FirstStreet { get; private set; }

        /// <summary>
        /// Gets the last street.
        /// </summary>
        /// <value>The last street.</value>
        public int LastStreet { get; private set; }
    }
}
